package com.lagou.service;

import com.lagou.entity.TArticle;
import com.lagou.mapper.TArticleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TArticleService {

    @Autowired
    TArticleMapper articleMapper;

    public List<TArticle> selectArticleList(){
        return articleMapper.selectAllList();
    }
}
